<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>服务评价</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">

    <link rel="stylesheet" href="../../../css/wx/mui.min.css">
    <link rel="stylesheet" href="../../../css/wx/app.css">
    <link rel="stylesheet" href="../../../css/wx/style.css" />
    <link rel="stylesheet" href="../../../css/wx/wx-iconfont.css" />
    <script type="text/javascript">
        var pageConfig = {
            jss: ["app/fwpj/fwpj"],
            cb: function(o) {

                // 不影响初始页面的js, 可以延迟引入
                require(['wx-iconfont'], $.noop);

                app.requireCss(['icons-extra', 'animate.min'], doc);
            }
        };
    </script>
    <script data-main="../../../js/wx/public/config" src="../../../js/require.js"></script>
    <style>
        .mui-content {
            padding: 0;
        }

        .mui-control-content {
            min-height: -webkit-fill-available;
        }

        .mui-bar-nav~.mui-content .mui-pull-top-pocket {
            top: 0;
        }

        .mui-table-view-cell:after {
            height: 0;
        }

        .mui-card {
            margin-bottom: 0;
        }

        .footBtn .mui-checkbox {
            background: #fff;
            line-height: 50px;
        }

        .footBtn .mui-checkbox input {
            top: -3px;
            left: 10px !important;
        }

        .footBtn button {
            font-size: 15px;
        }
        .footBtn.flexl .mui-checkbox.mui-left label {
            padding-left: 36px;
        }
        .yssh .mui-slider-group .mui-card .mui-card-content-inner .imageBox {
            width: 90px;
        }
        .p10{
            padding: 10px 0 1px !important;
        }

        .xdcx .mui-card-footer p {
            width: 20% !important;
        }


        .wf-slider-noneBottom {
            top: 58px !important;
        }
    </style>

</head>

<body>
<!--搜索-->
<div class="mui-content">
    <div id="searchDiv" class="mui-input-row searchBox">
        <form action="javascript:app.returnFalse();">
            <i class="mui-icon mui-icon-search"></i>
            <input @search="toSearch" type="search" class="mui-input-clear" placeholder="品号|客户名称"
                   v-model.trim="keyword">
        </form>
    </div>
</div>
<!--列表-->
<div id="slider" class="mui-slider responseSlider xdcx yssh wf-slider-noneBottom">
    <div id="sliderSegmentedControl" class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted shadow p10">
        <a class="mui-control-item" href="#item1mobile">
            未评价
        </a>
        <a class="mui-control-item" href="#item2mobile">
            已评价
        </a>
        <a class="mui-control-item" href="#item3mobile">
            全部
        </a>
    </div>
    <div id="sliderProgressBar" class="mui-slider-progress-bar" style="width: 33%;"></div>
    <div class="mui-slider-group">

        <div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
            <div id="scroll1" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <fwpj-listitem :model="items"></fwpj-listitem>
                </div>
            </div>
        </div>
        <div id="item2mobile" class="mui-slider-item mui-control-content">
            <div id="scroll2" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <fwpj-listitem :model="items"></fwpj-listitem>
                </div>
            </div>
        </div>
        <div id="item3mobile" class="mui-slider-item mui-control-content">
            <div id="scroll" class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <fwpj-listitem :model="items"></fwpj-listitem>
                </div>
            </div>
        </div>

    </div>
</div>

<script id="item-template" type="text/x-template">
    <ul class="mui-table-view">
        <li class="mui-table-view-cell" v-for="item in model">
            <div class="mui-card">
                <div class="mui-card-content">
                    <div class="mui-card-content-inner">
                        <div class="mui-row">
                            <div class="mui-col-xs-6">
                                <p><span>产品名称：</span>{{item.MMRA004}}</p>
                            </div>
                            <div class="mui-col-xs-6">
                                <p><span>序列号：</span>{{item.MMRA003}}</p>
                            </div>
                            <div class="mui-col-xs-12 flexl">
                                <p><span>故障现象：</span>{{item.MMRD014}}</p>
                            </div>
                            <div class="mui-col-xs-12">
                                <p><span>最新进度：</span>{{jindu(item.MMRD020)}}</p>
                            </div>
                        </div>
                    </div>
                </div>
                <div v-if="item.MMRD020=='4'" class="mui-card-footer"><span></span>
                    <p class="abge" @tap.stop="open(item)">去评价</p>
                </div>
                <div v-if="item.MMRD020=='5' || item.MMRD020=='6'" class="mui-card-footer">
                    <span>已评价</span>
                    <p class="abge" @tap.stop="open(item)">查看评价</p>
                </div>
            </div>
        </li>
    </ul>
</script>
</body>

</html>